toBufferedImage

public final static BufferedImage toBufferedImage(Bitmap $self)
public final static BufferedImage toBufferedImage(Bitmap $self)

Creates an instance of BufferedImage from this Bitmap with the same dimensions.

Since

8.0.0

Throws

if the size of this bitmap is empty.